package org.jeecg.modules.vehicle.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: work_vehicle
 * @Author: jeecg-boot
 * @Date:   2021-08-17
 * @Version: V1.0
 */
@Data
@TableName("work_vehicle")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="work_vehicle对象", description="work_vehicle")
public class WorkVehicle implements Serializable {
    private static final long serialVersionUID = 1L;

	/**车辆编号，使用uuid*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "车辆编号，使用uuid")
    private java.lang.String id;
	/**车牌号*/
	@Excel(name = "车牌号", width = 15)
    @ApiModelProperty(value = "车牌号")
    private java.lang.String vehicleNumber;
	/**车辆品牌名称*/
	@Excel(name = "车辆品牌名称", width = 15)
    @ApiModelProperty(value = "车辆品牌名称")
    private java.lang.String vehicleName;
	/**车辆状态0，未借用，1，以借用，2维修中*/
	@Excel(name = "车辆状态0，未借用，1，以借用，2维修中", width = 15, dicCode = "vehicle_state")
	@Dict(dicCode = "vehicle_state")
    @ApiModelProperty(value = "车辆状态0，未借用，1，以借用，2维修中")
    private java.lang.Integer vehicleState;
	/**车辆总里程（km）*/
	@Excel(name = "车辆总里程（km）", width = 15)
    @ApiModelProperty(value = "车辆总里程（km）")
    private java.lang.Double vehicleTotal;
	/**上次保养时间*/
	@Excel(name = "上次保养时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "上次保养时间")
    private java.util.Date maintenanceTime;
	/**保养周期*/
	@Excel(name = "保养周期", width = 15)
    @ApiModelProperty(value = "保养周期")
    private java.lang.Integer maintenanceCycle;
	/**保养里程*/
	@Excel(name = "保养里程", width = 15)
    @ApiModelProperty(value = "保养里程")
    private java.lang.String maintenanceMileage;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**保养描述*/
	@Excel(name = "保养描述", width = 15)
    @ApiModelProperty(value = "保养描述")
    private java.lang.String maintenanceOfDescription;
	/**维修描述*/
	@Excel(name = "维修描述", width = 15)
    @ApiModelProperty(value = "维修描述")
    private java.lang.String describeTheMaintenance;
}
